package com.googlecode.gwt.test.plugin.resourcesListner;

import java.util.HashMap;
import java.util.Map;

import org.eclipse.jdt.core.IType;

public class CustomKeyWordsResource {

	private Map<String, IType> keywords;
	
	public void put(String elementName, IType type) {
		if(keywords==null){
			keywords=new HashMap<String, IType>();
		}
		keywords.put(elementName,type);
		
	}

	public IType getType(String element) {
		return keywords.get(element);
	}

}
